
import investors from './index.vue';
//资金帐户列表
import capitalList from './capitalList.vue';
import capitalDetail from './capitalDetail.vue';
import capitalCheck from './capitalCheck.vue';
// 打款
import {
  addApi
} from '@/utils/http';


export default {
    name:"investors",
    path:"investors",
    component:investors,
    meta:{
        title:"商城",
        menu:"投资人管理"
    },
    children:[
        {
            name:"capitalList",
            path:"",
            component:capitalList,
            alias:"capitalList",
            meta:{
                title:"资金帐户列表"
            }
        },
        {
            name:"capitalDetail",
            path:"capitalDetail",
            component:capitalDetail,
            meta:{
                title:"资金帐户明细"
            }
        },
        {
            name:"capitalCheck",
            path:"capitalCheck",
            component:capitalCheck,
            meta:{
                title:"资金帐户结算"
            }
        }
    ]
}

export const Api = {
    accountList: "account/rebateList", //列表
    cancel: "account/remittanceFail",//撤消
    confirm: "account/confirm",//确认
}

addApi(Api);